package com.example.teach.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teach.entity.Academy;

import java.util.List;

public interface AcademyService extends IService<Academy> {
    void create(Integer academyId, Integer majorId);

    Academy select(Integer academyId, Integer majorId);

    List<Integer> selectmajor(Integer id);

    void deletemajor(Integer academyId, Integer majorId);

    boolean isNotEmpty(Integer id);
}
